<template>
  <h1>vue3</h1>
  <Child :count="count" :update="update"/>
</template>

<script lang="ts">
import Child from "./Child.vue";

export default {
  name: "App",
  components: { Child },
  data() {
    return {
      count: 0,
    };
  },
  methods: {
    update() {
      this.count++;
    },
  },
};
</script>

<style scoped></style>
